package qq2564874169.tuaotuao.fx.context;

import qq2564874169.tuaotuao.fx.FxAutoCloseable;

import java.util.List;

public interface BeanContext extends FxAutoCloseable {
    String SCOPE_SINGLETON = "singleton";
    String SCOPE_PROTOTYPE = "prototype";
    String SCOPE_CONTEXT = "context";

    BeanContext child();

    void registerBeanClass(Class<?> beanClass);

    <T> T getBean(Class<T> clazz);

    <T> List<Class<T>> getClassListForType(Class<T> clazz);
}
